package com.kc.business.service;

import com.kc.business.domain.BizOrderAddress;

import java.util.List;

/**
 * TODO
 * 收/发货地址
 *
 * @author zhangshuo
 * @version 1.0
 * @date 2020/10/13
 */
public interface IBizOrderAddressService {
    /**
     * 查询地址列表
     *
     * @param orderAddress
     * @return
     */
    public List<BizOrderAddress> getList(BizOrderAddress orderAddress);

    /**
     * 新增地址
     *
     * @param orderAddress
     * @return
     */
    public int add(BizOrderAddress orderAddress);

    /**
     * 修改地址
     *
     * @param orderAddress
     * @return
     */
    public int edit(BizOrderAddress orderAddress);

    /**
     * 删除地址
     *
     * @param id
     * @return
     */
    public int delete(Integer id);
}
